package com.swt.gap.model.graphmodel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 请填写说明
 *
 * @author sx
 * @date 2019/9/26 20:31
 */
@Data
@ApiModel
public class EntityTemplate {
    private String id;
    @ApiModelProperty(value = "结点label,多个的话 英文逗号间隔，例如\"实体,人员\"")
    private String labels;
    private String icon;
    @ApiModelProperty("主键属性的key")
    private String primaryKeyPropertyKey;
//    @ApiModelProperty("显示属性的key")
//    private String displayPropertyKey;
    @ApiModelProperty("其他属性")
    private List<Property> properties;

    @ApiModelProperty(value = "名称对应的列")
    private String nameField;

    @ApiModelProperty(value = "描述对应的列")
    private String descriptionField;

    @ApiModelProperty(value = "必填，根据实体列表的信息赋值。1实体节点 2事件节点 3文档节点", required = true)
    private Integer type;
}
